#!/bin/bash
python ./main.py &
if [ ! -f "./INSTALL" ];then
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata  doc/sql/initdata.json
echo "" >> ./INSTALL
else
echo "System had installd"
fi
python ./manage.py runserver 0.0.0.0:80
